package com.ruoyi.system.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.common.core.domain.entity.SysDic;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author linxz
 * @since 2024-12-25
 */
@Mapper
public interface SysDicMapper extends BaseMapper<SysDic> {

    List<SysDic> fetchList();
    List<SysDic> fetchListByBsName(@Param("bsName")String bsName);

    int add(SysDic sysDic);

    int update(SysDic sysDic);

    int delete(@Param("id")int id);

}
